var tmp_username = get_cookie_value("username","");
var tmp_key = tmp_username.toUpperCase() + KEY_VALUE;
alert("Your completion code is: " + convertDecStrToStr(encrypt(COMPSTR+convert_num_to_char(get_sub_cookie_value("time",get_cookie_value("KU_"+PROG_ID+"_"+tmp_username + "_user",""),"")),tmp_key,VALUE_HI,VALUE_LO)) + "\nWrite this code down, log onto the " + LMS_NAME + ", take the " + COURSE_TITLE + " (CD Version) Course\nand enter the code when prompted. This will complete the course.");
}
function flms_auto_login()
{
//check url for user_id
if (FLMS_AUTO_LOGIN) {
var tmp_user_id = get_url_value('user_id');
if ((tmp_user_id == null) || (isNaN(tmp_user_id))) {